package com.panda.pandawash.activity;

import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.panda.pandawash.R;
import com.panda.pandawash.view.StatusBarCompat;

import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;
import org.xutils.x;

/**
 * Created by gaowf on 2017/2/10.
 */

public class CostSetActivity extends Activity {

    @ViewInject(R.id.set_cost_return)
    private ImageView imageView;

    @ViewInject(R.id.electricity_number)
    private TextView elecTextView;

    @ViewInject(R.id.water_number)
    private TextView waterTextView;

    @ViewInject(R.id.rent_per)
    private TextView rentTextView;

    @ViewInject(R.id.salary_per)
    private TextView salaryTextView;

    @ViewInject(R.id.car_number)
    private TextView carTextView;

    @ViewInject(R.id.promotion_content)
    private TextView promotionTextView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_cost_set);
        x.view().inject(this);
        if(Build.VERSION.SDK_INT>= Build.VERSION_CODES.KITKAT) {
            StatusBarCompat.compat(this, getResources().getColor(R.color.colorPrimary));
        }

    }

    @Event(R.id.set_cost_return)
    private void excuteReturn(View v) {
        finish();
    }
}
